package com.briup.srms.exam.dao.extend;

import java.util.List;

import javax.validation.constraints.NotNull;

import com.briup.srms.exam.bean.Exam;
import com.briup.srms.exam.bean.extend.ExamExtend;
import com.briup.srms.sms.bean.Clazz;
import com.briup.srms.sms.bean.Employee;

public interface ExamExtendMapper {

	List<Exam> query(int page, int pageSize);

	long count();
	
	ExamExtend selectById(long id);
	
	ExamExtend selectByIdWithoutAnswer(long id);
	
	List<Clazz> selectClazzesByExamId(long examId);
	
	List<Employee> selectProfessorByExamId(long examId);

	List<Exam> selectByStudentId(@NotNull Long studentId);

}
